import { createSSRApp } from 'vue'
import App from './App.vue'
// 引入pinia
import store from '@/store'
// 引入样式文件
import 'uno.css'
import 'virtual:uno.css'

import uniUtils from '@/common/utils/uni-utils'

export function createApp() {
    const app = createSSRApp(App)
    // 注册pinia
    app.use(store)
    app.use(uniUtils)
    return {
        app
    }
}
